package maven

import (
	"fmt"

	"gitee.com/shangc1016/libscanner/tools"
)

func JarCheck(projectPath string) []string {
	jars, err := tools.FindFile(projectPath, ".jar")
	if err != nil {
		fmt.Println(err.Error())
	}
	return jars
}
